import request from '@/utils/request'

// 查询关键字数据集字段列列表
export function listWordOnlineKeyWordList(query) {
  return request({
    url: '/word/wordOnlineKeyWordList/list',
    method: 'get',
    params: query
  })
}

// 查询关键字数据集字段列详细
export function getWordOnlineKeyWordList(id) {
  return request({
    url: '/word/wordOnlineKeyWordList/' + id,
    method: 'get'
  })
}

// 保存关键字数据集字段列
export function saveWordOnlineKeyWordList(data) {
  return request({
    url: '/word/wordOnlineKeyWordList/save',
    method: 'post',
    data: data
  })
}

// 删除关键字数据集字段列
export function delWordOnlineKeyWordList(id) {
  return request({
    url: '/word/wordOnlineKeyWordList/' + id,
    method: 'delete'
  })
}

// 导出关键字数据集字段列
export function exportWordOnlineKeyWordList(query) {
  return request({
    url: '/word/wordOnlineKeyWordList/export',
    method: 'get',
    params: query
  })
}
